package databeans;

/*
 * Schema for Answer Table
 * 
 * qid : Primary Key (question id), Foreign Key referenced from Question Table
 * username : userid of respondent, Primary Key, Foreign Key referenced from User Table
 * entityname : name of the entity for network questions, Primary Key, Foreign Key referenced from Entity Table
 * entityname2 : second entity name, only for socio-cognitive questions.
 * answer : answer, Primary Key
 */

public class Answer {
	
	private int qid;
	private String username;
	private String entityname;
	private String answer;
	
	public Answer(int qid, String username, String entityname, String answer) {
		this.qid = qid;
		this.username = username;
		this.entityname = entityname;
		this.answer = answer;
	}
	
	public int getQid() {
		return qid;
	}
	public String getUsername() {
		return username;
	}
	public String getEntityname() {
		return entityname;
	}
	public String getAnswer() {
		return answer;
	}
}
